package com.hkpw.system.domain;

import com.hkpw.common.annotation.Excel;
import com.hkpw.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 事件订阅对象 t_event_subscribe
 * 
 * @author andy
 * @date 2022-09-29
 */
public class EventSubscribe extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 事件类型 */
    @Excel(name = "事件类型")
    private Long eventType;

    /** 订阅地址 */
    @Excel(name = "订阅地址")
    private String eventDest;

    public void setEventType(Long eventType) 
    {
        this.eventType = eventType;
    }

    public Long getEventType() 
    {
        return eventType;
    }
    public void setEventDest(String eventDest) 
    {
        this.eventDest = eventDest;
    }

    public String getEventDest() 
    {
        return eventDest;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("eventType", getEventType())
            .append("eventDest", getEventDest())
            .toString();
    }
}
